require.config({
  paths: {
    jquery: 'libs/jquery/jquery-min',
    underscore: 'libs/underscore/underscore-min',
    backbone: 'libs/backbone/backbone-optamd3-min',
    text: 'libs/require/text'
  }
});

//Initialize `player`
require(['libs/player/audio.min'],function(){
  /*audio player*/
  audiojs.events.ready(function() {
    audiojs.createAll();
  });
  //audiojs.settings.autoplay = true;  
});

//Initialize `router`
define(['underscore', 'backbone', 'router'], function (Underscore, Backbone, Router) {
  var router = new Router();
  Backbone.history.start({pushState: false});

});